Public Class frmDangNhap

    Private Sub btnLogin_Click(sender As System.Object, e As System.EventArgs) Handles btnLogin.Click
        Me.DialogResult = DialogResult.OK
    End Sub

    Private Sub btnCLose_Click(sender As System.Object, e As System.EventArgs) Handles btnCLose.Click
        Me.DialogResult = DialogResult.Cancel
    End Sub
End Class